//查看全部未提交
function see_all(i){
	var name_all = $("#name_"+i).html();
	if(name_all == ""){
		$(".tips-title1").html("&nbsp;");
		$(".tips-title2").html("<span style='font-size:18px;'>无未提交人员！</span>");
	}else{
		$(".tips-title1").html("全部未提交人员");
		$(".tips-title2").html(name_all);
	}
	$("#see_all").show();
}

//互评小组编辑
 function group_edit(obj_id){
	 art.dialog.open('index.php?do=group_edit&group_id='+obj_id,{title:'互评小组编辑',close:function (){
		  location.href=location.href;
	 }});
 }

//添加小组
function group_add(){
	art.dialog.open('index.php?do=group_edit',{title:'添加互评小组',close:function (){
		  location.href=location.href;
	 }});
}

//删除小组
function del(group_id){ 
 art.dialog({
	    content: '确认删除该小组?',
	    icon: 'question',
	   	lock: true,
	   	drag: false,
	   	background: '#000',
	   	opacity: 0.7,
	    ok: function (){
	    	$.get('index.php?do=group&act=del&group_id='+group_id,function(json){
	    		if(json.status==1){
	    			$("#ids_"+group_id).remove(); 
	    		}else{
	    			art.dialog.tips(json.msg);
	    		}
	    		
	    	},'json');
	    	  
	    },
	    okVal: '确定',
	    cancelVal: '取消',
	    cancel: true
	});
}

//点击确定
function confirm(){
	$("#see_all").hide();
}

//筛选项
function sift(){
	$("#search_form").submit();
}